<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>排球知识 - 排球队</title>
    <link rel="stylesheet" href="../../../css/style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        .knowledge-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .page-title {
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 10px;
        }
        
        .page-subtitle {
            color: #666;
            font-size: 1.1rem;
        }
        
        .hero-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 80px 40px;
            text-align: center;
            border-radius: 15px;
            margin-bottom: 50px;
        }
        
        .hero-title {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            margin-bottom: 30px;
        }
        
        .progress-section {
            background: rgba(255,255,255,0.1);
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        
        .progress-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        
        .progress-bar {
            background: rgba(255,255,255,0.2);
            height: 20px;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 10px;
        }
        
        .progress-fill {
            background: #43e97b;
            height: 100%;
            width: 65%;
            transition: width 0.3s ease;
        }
        
        .progress-text {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .modules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .module-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }
        
        .module-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        }
        
        .module-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }
        
        .module-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        .module-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .module-subtitle {
            opacity: 0.9;
            font-size: 1rem;
        }
        
        .module-content {
            padding: 25px;
        }
        
        .module-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .module-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 1.5rem;
            font-weight: bold;
            color: #667eea;
        }
        
        .stat-label {
            font-size: 0.8rem;
            color: #666;
        }
        
        .module-progress {
            background: #f0f0f0;
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 15px;
        }
        
        .module-progress-fill {
            height: 100%;
            background: #43e97b;
            transition: width 0.3s ease;
        }
        
        .module-actions {
            display: flex;
            gap: 10px;
        }
        
        .action-btn {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .btn-primary {
            background: #667eea;
            color: white;
        }
        
        .btn-primary:hover {
            background: #5a6fd8;
        }
        
        .btn-secondary {
            background: #f0f0f0;
            color: #333;
        }
        
        .btn-secondary:hover {
            background: #e0e0e0;
        }
        
        .recent-articles {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }
        
        .section-title {
            font-size: 1.8rem;
            color: #333;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .article-card {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            border-left: 4px solid #667eea;
            transition: transform 0.3s ease;
        }
        
        .article-card:hover {
            transform: translateY(-3px);
        }
        
        .article-title {
            font-size: 1.1rem;
            color: #333;
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .article-excerpt {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 15px;
        }
        
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #888;
        }
        
        .article-category {
            background: #e2e8f0;
            color: #4a5568;
            padding: 2px 8px;
            border-radius: 10px;
        }
        
        .stats-summary {
            background: white;
            padding: 25px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
        }
        
        .summary-stat {
            text-align: center;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .summary-number {
            font-size: 2rem;
            font-weight: bold;
            color: #667eea;
            margin-bottom: 5px;
        }
        
        .summary-label {
            color: #666;
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
    <!-- 侧边栏 -->
    <div class="sidebar" id="sidebar">
        <div class="sidebar-header">
            <h3>排球队管理系统</h3>
            <button class="sidebar-toggle" onclick="toggleSidebar()">
                <i class="fas fa-times"></i>
            </button>
        </div>
        <nav class="sidebar-nav">
            <ul>
                <li>
                    <a href="../../index_qiu.html">
                        <i class="fas fa-home"></i>
                        首页
                    </a>
                </li>
                <li>
                    <a href="../about/about.html">
                        <i class="fas fa-info-circle"></i>
                        球队介绍
                    </a>
                </li>
                <li>
                    <a href="../players/list.html">
                        <i class="fas fa-users"></i>
                        队员信息
                    </a>
                </li>
                <li>
                    <a href="../matches/matches.html">
                        <i class="fas fa-trophy"></i>
                        比赛管理
                    </a>
                </li>
                <li>
                    <a href="../training/training.html">
                        <i class="fas fa-dumbbell"></i>
                        训练安排
                    </a>
                </li>
                <li class="active">
                    <a href="index.html">
                        <i class="fas fa-book"></i>
                        排球知识
                    </a>
                </li>
                <li>
                    <a href="../notifications/detail.html">
                        <i class="fas fa-bell"></i>
                        通知管理
                    </a>
                </li>
                <li>
                    <a href="#">
                        <i class="fas fa-cog"></i>
                        系统设置
                    </a>
                </li>
            </ul>
        </nav>
    </div>

    <!-- 主内容区域 -->
    <div class="main-content">
        <!-- 顶部导航栏 -->
        <div class="topbar">
            <div class="topbar-left">
                <button class="menu-toggle" onclick="toggleSidebar()">
                    <i class="fas fa-bars"></i>
                </button>
                <h1>排球队管理系统</h1>
            </div>
            <div class="switch-page">
                <button class="btn btn-secondary" onclick="switchToMainPage()">
                    <i class="fas fa-exchange-alt"></i> 流光小队
                </button>
            </div>
        </div>

        <!-- 内容区域 -->
        <div class="content">
            <div class="knowledge-container">
                <!-- 页面标题 -->
                <div class="page-header">
                    <h1 class="page-title">排球知识</h1>
                    <p class="page-subtitle">学习排球规则和技术，提升排球理论水平</p>
                </div>

                <!-- 英雄区域 -->
                <section class="hero-section">
                    <h2 class="hero-title">排球知识学习中心</h2>
                    <p class="hero-subtitle">系统学习排球知识，从基础规则到高级战术</p>
                    
                    <div class="progress-section">
                        <h3 class="progress-title">学习进度</h3>
                        <div class="progress-bar">
                            <div class="progress-fill"></div>
                        </div>
                        <p class="progress-text">已完成 65% 的学习内容</p>
                    </div>
                </section>

                <!-- 统计摘要 -->
                <div class="stats-summary">
                    <div class="stats-grid">
                        <div class="summary-stat">
                            <div class="summary-number">6</div>
                            <div class="summary-label">知识模块</div>
                        </div>
                        <div class="summary-stat">
                            <div class="summary-number">45</div>
                            <div class="summary-label">学习课程</div>
                        </div>
                        <div class="summary-stat">
                            <div class="summary-number">180</div>
                            <div class="summary-label">学习小时</div>
                        </div>
                        <div class="summary-stat">
                            <div class="summary-number">85%</div>
                            <div class="summary-label">完成率</div>
                        </div>
                        <div class="summary-stat">
                            <div class="summary-number">12</div>
                            <div class="summary-label">获得证书</div>
                        </div>
                        <div class="summary-stat">
                            <div class="summary-number">4.8</div>
                            <div class="summary-label">平均评分</div>
                        </div>
                    </div>
                </div>

                <!-- 知识模块 -->
                <div class="modules-grid">
                    <div class="module-card" onclick="navigateToModule('rules')">
                        <div class="module-header">
                            <div class="module-icon">📋</div>
                            <h3 class="module-title">排球规则</h3>
                            <p class="module-subtitle">基础规则与裁判手势</p>
                        </div>
                        <div class="module-content">
                            <p class="module-description">
                                学习排球比赛的基本规则，包括得分规则、换人规则、暂停规则等，以及裁判手势的含义。
                            </p>
                            <div class="module-stats">
                                <div class="stat-item">
                                    <div class="stat-number">8</div>
                                    <div class="stat-label">课程</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">6</div>
                                    <div class="stat-label">小时</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">90%</div>
                                    <div class="stat-label">完成</div>
                                </div>
                            </div>
                            <div class="module-progress">
                                <div class="module-progress-fill" style="width: 90%"></div>
                            </div>
                            <div class="module-actions">
                                <button class="action-btn btn-primary">继续学习</button>
                                <button class="action-btn btn-secondary">查看详情</button>
                            </div>
                        </div>
                    </div>

                    <div class="module-card" onclick="navigateToModule('skills')">
                        <div class="module-header">
                            <div class="module-icon">🏐</div>
                            <h3 class="module-title">技术技能</h3>
                            <p class="module-subtitle">基本技术与动作要领</p>
                        </div>
                        <div class="module-content">
                            <p class="module-description">
                                掌握排球的基本技术，包括发球、传球、扣球、拦网等技术动作的要领和练习方法。
                            </p>
                            <div class="module-stats">
                                <div class="stat-item">
                                    <div class="stat-number">12</div>
                                    <div class="stat-label">课程</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">10</div>
                                    <div class="stat-label">小时</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">75%</div>
                                    <div class="stat-label">完成</div>
                                </div>
                            </div>
                            <div class="module-progress">
                                <div class="module-progress-fill" style="width: 75%"></div>
                            </div>
                            <div class="module-actions">
                                <button class="action-btn btn-primary">继续学习</button>
                                <button class="action-btn btn-secondary">查看详情</button>
                            </div>
                        </div>
                    </div>

                    <div class="module-card" onclick="navigateToModule('tactics')">
                        <div class="module-header">
                            <div class="module-icon">🎯</div>
                            <h3 class="module-title">战术策略</h3>
                            <p class="module-subtitle">进攻与防守战术</p>
                        </div>
                        <div class="module-content">
                            <p class="module-description">
                                学习排球战术策略，包括进攻战术、防守阵型、团队配合等，提升战术理解能力。
                            </p>
                            <div class="module-stats">
                                <div class="stat-item">
                                    <div class="stat-number">10</div>
                                    <div class="stat-label">课程</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">8</div>
                                    <div class="stat-label">小时</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">60%</div>
                                    <div class="stat-label">完成</div>
                                </div>
                            </div>
                            <div class="module-progress">
                                <div class="module-progress-fill" style="width: 60%"></div>
                            </div>
                            <div class="module-actions">
                                <button class="action-btn btn-primary">继续学习</button>
                                <button class="action-btn btn-secondary">查看详情</button>
                            </div>
                        </div>
                    </div>

                    <div class="module-card" onclick="navigateToModule('fitness')">
                        <div class="module-header">
                            <div class="module-icon">💪</div>
                            <h3 class="module-title">体能训练</h3>
                            <p class="module-subtitle">身体素质与训练方法</p>
                        </div>
                        <div class="module-content">
                            <p class="module-description">
                                了解排球运动对身体素质的要求，学习科学的训练方法，提升体能水平。
                            </p>
                            <div class="module-stats">
                                <div class="stat-item">
                                    <div class="stat-number">6</div>
                                    <div class="stat-label">课程</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">5</div>
                                    <div class="stat-label">小时</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">45%</div>
                                    <div class="stat-label">完成</div>
                                </div>
                            </div>
                            <div class="module-progress">
                                <div class="module-progress-fill" style="width: 45%"></div>
                            </div>
                            <div class="module-actions">
                                <button class="action-btn btn-primary">继续学习</button>
                                <button class="action-btn btn-secondary">查看详情</button>
                            </div>
                        </div>
                    </div>

                    <div class="module-card" onclick="navigateToModule('psychology')">
                        <div class="module-header">
                            <div class="module-icon">🧠</div>
                            <h3 class="module-title">心理素质</h3>
                            <p class="module-subtitle">比赛心理与团队精神</p>
                        </div>
                        <div class="module-content">
                            <p class="module-description">
                                学习比赛中的心理调节技巧，培养团队精神和比赛心态，提升心理素质。
                            </p>
                            <div class="module-stats">
                                <div class="stat-item">
                                    <div class="stat-number">4</div>
                                    <div class="stat-label">课程</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">3</div>
                                    <div class="stat-label">小时</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">30%</div>
                                    <div class="stat-label">完成</div>
                                </div>
                            </div>
                            <div class="module-progress">
                                <div class="module-progress-fill" style="width: 30%"></div>
                            </div>
                            <div class="module-actions">
                                <button class="action-btn btn-primary">继续学习</button>
                                <button class="action-btn btn-secondary">查看详情</button>
                            </div>
                        </div>
                    </div>

                    <div class="module-card" onclick="navigateToModule('history')">
                        <div class="module-header">
                            <div class="module-icon">📚</div>
                            <h3 class="module-title">排球历史</h3>
                            <p class="module-subtitle">排球运动发展史</p>
                        </div>
                        <div class="module-content">
                            <p class="module-description">
                                了解排球运动的历史发展，学习排球文化的传承，培养对排球运动的热爱。
                            </p>
                            <div class="module-stats">
                                <div class="stat-item">
                                    <div class="stat-number">5</div>
                                    <div class="stat-label">课程</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">4</div>
                                    <div class="stat-label">小时</div>
                                </div>
                                <div class="stat-item">
                                    <div class="stat-number">80%</div>
                                    <div class="stat-label">完成</div>
                                </div>
                            </div>
                            <div class="module-progress">
                                <div class="module-progress-fill" style="width: 80%"></div>
                            </div>
                            <div class="module-actions">
                                <button class="action-btn btn-primary">继续学习</button>
                                <button class="action-btn btn-secondary">查看详情</button>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 最新文章 -->
                <div class="recent-articles">
                    <h2 class="section-title">
                        <i class="fas fa-newspaper"></i>
                        最新学习文章
                    </h2>
                    <div class="articles-grid">
                        <div class="article-card">
                            <h3 class="article-title">排球发球技术详解</h3>
                            <p class="article-excerpt">
                                详细介绍排球发球的各种技术要领，包括上手发球、下手发球、跳发球等，帮助队员掌握正确的发球技巧。
                            </p>
                            <div class="article-meta">
                                <span class="article-category">技术技能</span>
                                <span>2024-02-10</span>
                            </div>
                        </div>
                        
                        <div class="article-card">
                            <h3 class="article-title">排球比赛规则更新</h3>
                            <p class="article-excerpt">
                                介绍最新的排球比赛规则变化，包括得分规则、换人规则、挑战规则等，确保队员了解最新规则。
                            </p>
                            <div class="article-meta">
                                <span class="article-category">排球规则</span>
                                <span>2024-02-08</span>
                            </div>
                        </div>
                        
                        <div class="article-card">
                            <h3 class="article-title">团队配合战术分析</h3>
                            <p class="article-excerpt">
                                分析排球比赛中的团队配合战术，包括快攻、掩护、防守阵型等，提升团队战术水平。
                            </p>
                            <div class="article-meta">
                                <span class="article-category">战术策略</span>
                                <span>2024-02-05</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // 导航到知识模块
        function navigateToModule(moduleName) {
            const moduleRoutes = {
                'rules': 'rules.html',
                'skills': 'skills.html',
                'tactics': 'tactics.html',
                'fitness': 'fitness.html',
                'psychology': 'psychology.html',
                'history': 'history.html'
            };
            
            const targetPage = moduleRoutes[moduleName];
            if (targetPage) {
                window.location.href = targetPage;
            } else {
                alert('该模块正在开发中，敬请期待！');
            }
        }

        // 侧边栏切换
        function toggleSidebar() {
            const sidebar = document.getElementById('sidebar');
            const isMobile = window.innerWidth <= 768;
            
            if (isMobile) {
                // 移动端：切换侧边栏显示/隐藏
                sidebar.classList.toggle('open');
            } else {
                // 桌面端：侧边栏始终可见，不需要切换
                console.log('桌面端侧边栏始终可见');
            }
        }

        // 切换页面
        function switchToMainPage() {
            window.location.href = '../../index.html';
        }

        // 窗口大小改变时处理侧边栏状态
        window.addEventListener('resize', function() {
            const sidebar = document.getElementById('sidebar');
            const isMobile = window.innerWidth <= 768;
            
            if (!isMobile) {
                // 桌面端：确保侧边栏可见
                sidebar.classList.remove('open');
            }
        });
    </script>
</body>
</html> 